<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%-- 
    Document   : newjsp
    Created on : 2017-6-29, 9:59:56
    Author     : JSJSYS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <h1>登陆成功</h1>

        <p>${u.name}</p>


        <div class="container">

            <div class="row"  >

                <div class="col-md-2"> </div>
                <div class="col-md-8" style="background-color: activeborder">
                    <table class="table table-hover">
                        
                        <c:forEach items="${list}" var="item">
                            <tr>
                                <td>${item.NAME}</td>
                                <td>${item.CODE}</td>
                            </tr>
                        </c:forEach>

                    </table>
                </div>
                <div class="col-md-2"> </div>
            </div>

        </div> 
</html>
